//
//  AllPageCollectionReusableView.m
//  MoGuRadio
//
//  Created by dlios on 15/6/6.
//  Copyright (c) 2015年 mogu.com 蘑菇科技. All rights reserved.
//

#import "AllPageCollectionReusableView.h"

@implementation AllPageCollectionReusableView

- (instancetype)initWithFrame:(CGRect)frame
{
    
    self = [super initWithFrame:frame];
    if (self) {
        
        self.myLabel = [[UILabel alloc] init];
        self.myLabel.backgroundColor = [UIColor colorWithRed:0.9 green:0.9 blue:0.9 alpha:1.0];
        self.myLabel.font = [UIFont boldSystemFontOfSize:16];
        [self addSubview:self.myLabel];
        [_myLabel release];
    }
    
    return self;
    
}


- (void)applyLayoutAttributes:(UICollectionViewLayoutAttributes *)layoutAttributes
{
    self.myLabel.frame = CGRectMake(0, 0, layoutAttributes.bounds.size.width, layoutAttributes.bounds.size.height);
}



- (void)dealloc
{
    [_myLabel release];
    [super dealloc];
    
}

@end
